<?php
session_start();

include_once( 'config.php' );
include_once( 'saetv2.ex.class.php' );
$c = new SaeTClientV2( WB_AKEY , WB_SKEY , $_SESSION['token']['access_token'] );
$a = new SaeTOAuthV2(WB_AKEY , WB_SKEY , $_SESSION['token']['access_token']);
// $ms  = $c->home_timeline(); // done
// $uid_get = $c->get_uid();
// $uid = $uid_get['uid'];
// $user_message = $c->show_user_by_id( $uid);//根据ID获取用户等基本信息
$parameters = array('uid'=>$_SESSION['token']['uid']);
$arr = $c -> update('测试新浪微播接口。');
// $arr = json_decode($arr);
echo "<pre>";
print_r($_SESSION);

